﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using QianBuo.Lottery.Web.Areas.Manage.Models.Shared;
using Code.BLL;

namespace QianBuo.Lottery.Web.Areas.Manage.Controllers
{
    public class SharedController : BaseController
    {
        //
        // GET: /Manage/Shared/

        public ActionResult Top()
        {
            var model = new TopModel();
            model.RoleName = CacheManage.Roles[Admin.RoleID].Name;
            model.LoginName = model.UserName = Admin.LoginName;

            return View(model);
        }

    }
}
